﻿<%@ Page Language="C#"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>打印催费单</title>
    <link href="../../../../WebPlugin/jquery-easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../WebPlugin/jquery-easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../../../WebPlugin/jquery-easyui/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../../../WebPlugin/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/PrintDebtformManager.js" type="text/javascript"></script>
     <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/JQueryCommon.js"></script>
    <script src="../../../../WebPlugin/jquery-easyui/report/Print.js" type="text/javascript"></script>
</head>
<body class="easyui-layout">
     <div region="center" id="layout_center" fit="true" style="overflow:hidden;" >
                  <div id="printTool" class="toolbar">
                    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-reload" onclick="$('#debtgrid').treegrid('reload');">刷新</a>
                     <a href="#"  class="easyui-menubutton" plain="true" iconCls="icon-search" menu="#mm1"><label id="highsearch">分类查询[住宅]</label></a>
		            <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print" onclick="printdebt()">打印</a>
		            <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print" onclick="">单条打印</a>
		            <input class="easyui-validatebox"  plain="true" style="width:130px" validType="email" />
	            </div>
	            <div id="mm1" style="width:120px;">
		            <div iconCls="icon-ok" onclick="debthome_show();">住宅</div>
		            <div iconCls="icon-ok" onclick="debtshop_show();">门面</div>
		            <div iconCls="icon-ok" onclick="debtcar_show();">车位</div>
		            <div iconCls="icon-ok" onclick="debtclient_show();">客户</div>
	           </div>
                <table id="debtgrid" toolbar="#printTool" class="easyui-treegrid" idField="id" treeField="OwnerName" pagination="true"  pageSize="20" fit="true" border="false"  singleSelect="true" fitColumns="true">
                    <thead>
                            <tr>
                                <th field="OwnerName" width="50" >姓名</th>
                                <th field="Code" width="80" >编码</th>
                                <th field="ItemName" width="80" >费用名称</th>
                                 <th field="Price" width="80" >单价</th>
                                <th field="Lastmaturity" width="100" >上次到期日</th> 
                                <th field="Thismaturity" width="100" >本次到期日</th> 
                                <th field="LastFee" width="100" >上次余额</th> 
                                <th field="ThisFee" width="100" >本次应缴</th> 
                                <th field="totalfee" width="100" >合计</th> 
                            </tr>
                    </thead>
                </table>
    </div>
</body>

<%--弹出窗口--%>

<%--住宅查询--%>
<div id="dlg-button" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dialog_homesearch_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="dialog_homesearch_close();">取消</a>   
</div>
<div id="dialog-homesearch" title="住宅查询" class="easyui-dialog" buttons="#dlg-button" icon="icon-save" style="background:#fafafa;padding:10px;width:320px;height:220px;" modal="true">
    <table>
       <tr>
            <td><label>选择区域:</label></td>
            <td><input id="cbarea" class="easyui-combobox" style="width:200px" type="text"  valueField="AreaCode" textField="AreaName"  panelHeight="auto"></input></td>
       </tr>
       <tr>
            <td><label>选择楼栋:</label></td>
            <td><input id="cbbuild" class="easyui-combobox" style="width:200px" type="text"  valueField="BuildingCode" textField="BuildingCode"  panelHeight="auto"></input></td>
       </tr>
        <tr>
             <td><label>房间号/业主姓名:</label></td>
             <td><input id="roomname"  type="text"  style="width:195px;"></input></td>             
       </tr> 
    </table>
</div>
<%--门面查询--%>
<div id="dlg-shopbutton" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dialog_shopsearch_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="dialog_shopsearch_close();">取消</a>   
</div>
<div id="dialog-shopsearch" class="easyui-dialog" title="门面查询" icon="icon-search" buttons="#dlg-shopbutton" style="background:#fafafa;padding:20px;width:340px;height:150px;"  modal="true">
      <table>
       <tr>
             <td><label>门面名:</label></td>
             <td><input id="txtshop"  type="text" name="ShopName" style="width:200px;"></input></td>             
       </tr>
       </table>
</div>


<%--车位查询--%>
<div id="dlg-carbutton" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dialog_carsearch_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="dialog_carsearch_close();">取消</a>   
</div>
<div id="dialog-carsearch" class="easyui-dialog" title="车位查询" icon="icon-search" buttons="#dlg-carbutton"  style="background:#fafafa;padding:20px;width:340px;height:180px;"  modal="true">
      <table>
       <tr>
            <td><label>选择区域:</label></td>
            <td><input id="carareacode" class="easyui-combobox" style="width:200px" type="text" valueField="Code" textField="AreaName"  panelHeight="auto"></input></td>
       </tr>
       <tr>     
             <td><label>车位编码:</label></td>
             <td><input id="carcode"  type="text"  style="width:195px;"></input></td>             
       </tr>
       </table>
</div>

<%--客户查询--%>
<div id="dlg-clientbutton" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dialog_clientsearch_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="dialog_clientsearch_close();">取消</a>   
</div>
<div id="dialog-clientsearch" class="easyui-dialog" title="客户查询"  icon="icon-search"  buttons="#dlg-clientbutton" style="background:#fafafa;padding:20px;width:340px;height:150px;"  modal="true">
      <table>
       <tr>
             <td><label>姓名:</label></td>
             <td><input id="clientname"  type="text"  style="width:200px;"></input></td>             
       </tr>
       </table>
</div>
</html>
